﻿// -----------------------------------------------------------------------
// <copyright file="ICrc.cs">
// Copyright (c) 2013 Andrey Veselov. All rights reserved.
// License:  Microsoft Public License (MS-PL)
// Contacts: http://andrey.moveax.com  andrey@moveax.com
// </copyright>
// -----------------------------------------------------------------------

namespace PortableImagingLibrary.Png.Crc
{
    using System;
    using System.Diagnostics.Contracts;

    [ContractClass(typeof(CrcContract))]
    internal interface ICrc
    {
        UInt32 CurrentValue { get; }

        void Reset();

        void Update(string value);

        void Update(byte[] buffer);
    }
}
